package com.zoe.vhr.enums;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/08/14
 * @Description
 */
public class MailConfigEnum {
    public static final Integer SENDING = 0; // 消息发送中
    public static final Integer SUCCESS = 1; // 消息发送成功
    public static final Integer FAILED = 2; // 消息发送失败
    public static final Integer MAX_TRY_COUNT = 3; // 最大重试次数
    public static final Integer MSG_TIME_OUT = 1 * 60 * 1000; // 重试时间
    public static final String MAIL_QUEUE_NAME = "javaboy.mail.queue"; // que名称
    public static final String MAIL_EXCHANGE_NAME = "javaboy.mail.exchange"; // 交换机名称
    public static final String MAIL_ROUTING_KEY = "javaboy.mail.routing.keys"; // 路由key

    public static final String DELAYED_EX = "delayed_ex"; // 交换机名称
    public static final String DELAYED_EX_TYPE = "x-delayed-message"; // 死信交换机类型
    public static final String DELAYED_QUE = "delayed_que"; // 死信队列
    public static final String DELAYED_ROUTING_KEY = "delayed_routing_key"; // 死信路由key
    public static final String CONSUMER_MSG_ID = "consumer-msg-id"; // 死信路由key
    
}
